package edu.neu.ecommerceplatform.service;

import edu.neu.ecommerceplatform.dto.CreateUserRequest;
import edu.neu.ecommerceplatform.model.User;

import java.util.List;

public interface UserService {

    public User getUserByName(String name);
    public User getUserByPhone(String phoneNumber);
    public User updateNameByPhone(String phoneNumber, String name);
    public User createUser(CreateUserRequest createUserRequest);
    public List<User> getAllUsers();
    public List<User> getUsersByProductId(Integer productId);
    public void deleteUser(Integer id);
    public User getUserById(Integer id);
}
